import {RouterModule, Routes} from '@angular/router';
import {ActProcessComponent} from './process/process.component';
import {ActModelComponent} from './model/model.component';
import {ActModelParamComponent} from './model/param/param.component';
import {ActModelTaskComponent} from './model/task/task.component';
import {ActModelBizzComponent} from './model/bizz/bizz.component';
import {ActModelVersionComponent} from './model/version/version.component';
import { NgModule } from '@angular/core';
import { ActRuntimeProcessInstanceComponent } from './runtime/process-instance/process-instance.component';
import { ActHisHistoryComponent } from './his/history/history.component';
import { ActRuntimeTaskComponent } from './runtime/task/task.component';

const routes: Routes = [

  { path: 'process', component: ActProcessComponent },
  { path: 'model', component: ActModelComponent },
  { path: 'param', component: ActModelParamComponent },
  { path: 'task', component: ActModelTaskComponent },
  { path: 'bizz', component: ActModelBizzComponent },
  { path: 'version', component: ActModelVersionComponent },
  { path: 'processInstance', component: ActRuntimeProcessInstanceComponent },
  { path: 'history', component: ActHisHistoryComponent },
  { path: 'runtime/task', component: ActRuntimeTaskComponent }]
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class ActRoutingModule { }
